package com.neuedu.his.service;


import com.neuedu.his.dao.UserMapper;
import com.neuedu.his.entity.User;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.InputStream;
import java.util.List;

@Service
public class UserService {




    @Autowired
    UserMapper mapper;


    public List<User> list(){

        System.out.println("UserService.list");

        return  mapper.selectByExample(null);
    }

}
